<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/11/21
  Time: 14:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ page isELIgnored="false" %>
<html>
<head>
    <title>薪酬标准管理修改</title>
    <link href="../../css/mine.css" type="text/css" rel="stylesheet">
    <%--<script type="text/javascript">
        $(function () {
            $("#sumbit").click(function () {
                //window.parent.left.location.reload();
                //$(parent.parent.left.document).location.reload();
            })
        })
    </script>--%>

</head>
<body>

<div class="div_head">
                <span>
                    <span style="float:left">当前位置是：-系统管理》部门管理</span>
                    <span style="float:right;margin-right: 8px;font-weight: bold">

                    </span>
                </span>
</div>
<div></div>

<div style="font-size: 13px;margin: 10px 5px">
    <form action="${pageContext.request.contextPath}/resource/demo1/update" method="post" id="formcheck">
        <input type="hidden" name="id" value="${dept.id}">
        <input type="hidden" name="createDate" value="${dept.createDate}">
        <input type="hidden" name="level" value="${dept.level}">
        <table border="1" width="100%" class="table_a">
            <tr>
                <td width="120px;">部门编码：<span style="color:red">*</span>：</td>
                <td><input type="text" readonly id="deptname" name="deptNum" value="${dept.deptNum}" /></td>
            </tr>
            <tr>
                <td>部门简称：<span style="color:red">*</span>：</td>
                <td>
                    <input type="text" name="name" value="${dept.name}" />
                </td>
            </tr>

            <tr>
                <td>部门全称：<span style="color:red">*</span>：</td>
                <td>
                    <input type="text" name="fullName" value="${dept.fullName}" /></td>
            </tr>
            <tr>
                <td>上级部门：<span style="color:red">*</span>：</td>
                <td>
                    <input type="hidden" value="${dept.PId}" name="pId">
                    <input type="text" readonly name="f_goods_image" value="${deptname}" />
                </td>
            </tr>
            <tr>
                <td>地址<span style="color:red">*</span>：</td>
                <td>
                    <input type="text" name="address" value="${dept.address}" />
                </td>
            </tr>


            <tr>
                <td>简介：</td>
                <td>
                    <textarea name="description">${dept.description}</textarea>
                </td>
            </tr>

            <tr>
                <td>备注：</td>
                <td>

                    <textarea name="remark">${dept.remark}</textarea>
                </td>
            </tr>

            <tr>
                <td>是否启用：</td>
                <td>
                    <select name="state">
                        <option value="1">是</option>
                        <option value="0">否</option>
                    </select>
                </td>
            </tr>

            <tr>
                <td colspan="2" align="center">
                    <input type="submit" id="sumbit" value="修改" onclick="window.parent.left.location.reload();">
                    <input type="submit" value="清空">
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
